Skip to content

Use specific exception instead of bare except in build_ffi.py#116

Merged
dgarske merged 1 commit intowolfSSL:masterfrom
roberthdevries:fix-bare-except-build-ffi
May 5, 2026
Merged

Use specific exception instead of bare except in build_ffi.py#116
dgarske merged 1 commit intowolfSSL:masterfrom
roberthdevries:fix-bare-except-build-ffi

Conversation

@roberthdevries
Copy link
Copy Markdown
Contributor

A bare except catches BaseException which includes KeyboardInterrupt, SystemExit, Exception, and others.
Catching BaseException can make it hard to interrupt the program (e.g., with Ctrl-C) and can disguise other problems.

A bare except catches BaseException which includes KeyboardInterrupt,
SystemExit, Exception, and others.
Catching BaseException can make it hard to interrupt the program (e.g., with
Ctrl-C) and can disguise other problems.
@dgarske dgarske merged commit d34abdb into wolfSSL:master May 5, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants